package com.thirteenClassicsServer.service;

import java.util.List;

import com.thirteenClassics.dto.BookPageQueryDTO;
import com.thirteenClassics.entity.Book;
import com.thirteenClassics.result.PageResult;


public interface IBookService {

    PageResult pageQuery(BookPageQueryDTO bookPageQueryDTO);

    PageResult pageQueryjdb(BookPageQueryDTO bookPageQueryDTO);

    Long saveBook(Book book);

    Long saveBookJdb(Book book);

    void deleteBatch(List<Long> ids);

    void updateBook(Book book);

    Book selectbookById(Long id);
}
